<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY copy "&#169;">
  <!ENTITY nbsp "&#160;">
  <!ENTITY laquo "&#171;">
  <!ENTITY raquo "&#187;">
]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">
    

<xsl:template match="/">
	<xsl:apply-templates />
</xsl:template>

<xsl:template match="form">  
    <xsl:if test="@message != ''">
      <div>
        <xsl:if test="@error = 1">
          <xsl:attribute name="class">massage_no</xsl:attribute>
        </xsl:if>
        <xsl:if test="@error = 0">
          <xsl:attribute name="class">massage_yes</xsl:attribute>
        </xsl:if>
        <xsl:value-of select="@message" />
      </div>
    </xsl:if>
</xsl:template>
  
</xsl:stylesheet>